﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data;
using System.Data.OleDb;
using DTO;
using DAO;

namespace BUS
{
    public class DanTocBUS
    {
        public static List<DanTocDTO> LayDanhSach()
        {
            try
            {
                return DanTocDAO.LayDanhSach();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public static int Them(DanTocDTO DanTocDto)
        {
            try
            {
                return DanTocDAO.Them(DanTocDto);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
